package com.pan.note.dao;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户Dto
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("NoteUser")
public class UserDao implements Serializable {
    //账号id
    @TableField(value = "account_id")
    private String accountId;
    //用户名（昵称）
    @TableField(value = "user_name")
    private String userName;
    //密码
    @TableField(value = "user_password")
    private String userPassword;
    //用户类型
    @TableField(value = "user_type")
    private String userType;
    //用户状态
    @TableField(value = "user_status")
    private String userStatus;
    //删除标志
    @TableField(value = "delete_flag")
    private String deleteFlag;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //用户头像
    @TableField(value = "user_pic")
    private String userPic;
}
